export default [
  {
    path: '',
    redirect: 'recommend',
    component: { render: h => h('i', { class: 'fa fa-fw fa-spinner fa-pulse text-muted' }) },
    meta: { title: '', hidden: true },
  },
  {
    path: 'recommend',
    component: { render: h => h('router-view') },
    meta: { title: '项目推荐', hidden: true },
    children: [
      {
        path: '',
        name: 'hndRecommend',
        component: () =>
          import(/* webpackChunkName: "hnd-commend" */ '@/credit/views/province/hnd/Recommend.vue'),
        meta: { title: '已推荐', hidden: true },
      },
      {
        path: 'recommend_no',
        name: 'recommendNo',
        component: () =>
          import(
            /* webpackChunkName: "hnd-commend" */ '@/credit/views/province/hnd/RecommendNo.vue'
          ),
        meta: { title: '待确定项目', hidden: true },
      },
    ],
  },
  {
    path: 'prelim',
    component: { render: h => h('router-view') },
    meta: { title: '项目审查', hidden: true },
    children: [
      {
        path: '',
        name: 'hndPrelim',
        component: () =>
          import(/* webpackChunkName: "hnd-prelim" */ '@/credit/views/province/hnd/Prelim.vue'),
        meta: { title: '未审项目', hidden: true },
      },
      {
        path: 'pass',
        name: 'hndPrelimPass',
        component: () =>
          import(/* webpackChunkName: "hnd-prelim" */ '@/credit/views/province/hnd/PrelimPass.vue'),
        meta: { title: '已审项目', hidden: true },
      },
      {
        path: 'abnormal',
        name: 'hndPrelimAbnormal',
        component: () =>
          import(
            /* webpackChunkName: "hnd-prelim" */ '@/credit/views/province/hnd/PrelimAbnormal.vue'
          ),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
  {
    path: 'register',
    component: { render: h => h('router-view') },
    meta: { title: '签约放款', hidden: true },
    children: [
      {
        path: '',
        name: 'hndRegisterPass',
        component: () =>
          import(/* webpackChunkName: "hnd-register" */ '@/credit/views/province/hnd/Register.vue'),
        meta: { title: '已放款', hidden: true },
      },
      {
        path: 'refuse',
        name: 'hndRegisterRefuse',
        component: () =>
          import(
            /* webpackChunkName: "hnd-register" */ '@/credit/views/province/hnd/RegisterRefuse.vue'
          ),
        meta: { title: '已拒绝', hidden: true },
      },
    ],
  },
  {
    path: 'postloan',
    component: { render: h => h('router-view') },
    meta: { title: '贷后管理', hidden: true },
    children: [
      {
        path: '',
        name: 'hndPostloaning',
        component: () =>
          import(/* webpackChunkName: "hnd-postloan" */ '@/credit/views/province/hnd/Postloan.vue'),
        meta: { title: '在保项目', hidden: true },
      },
      {
        path: 'expire',
        name: 'hndPostloanExpire',
        component: () =>
          import(
            /* webpackChunkName: "hnd-postloan" */ '@/credit/views/province/hnd/PostloanExpire.vue'
          ),
        meta: { title: '到期项目', hidden: true },
      },
      {
        path: 'finish',
        name: 'hndPostloanFinish',
        component: () =>
          import(
            /* webpackChunkName: "hnd-postloan" */ '@/credit/views/province/hnd/PostloanFinish.vue'
          ),
        meta: { title: '解保项目', hidden: true },
      },
      {
        path: 'abnormal',
        name: 'hndPostloanAbnormal',
        component: () =>
          import(
            /* webpackChunkName: "hnd-postloan" */ '@/credit/views/province/hnd/PostloanAbnormal.vue'
          ),
        meta: { title: '异常项目', hidden: true },
      },
    ],
  },
]
